﻿namespace Movies.Helpers
{
    using System.Collections.Generic;
    using Exporter;
    using MoviesDataBase;

    /// <summary>
    /// The movie exporter.
    /// </summary>
    public static class MovieExporter
    {
        /// <summary>
        /// Exports the movie.
        /// </summary>
        /// <param name="filename">The filename.</param>
        /// <param name="movies">The movies.</param>
        /// <param name="fileFormat">The file format.</param>
        public static void ExportMovie(string filename, IEnumerable<Movie> movies, Format fileFormat)
        {
            Exporter.Export(filename, movies, fileFormat);
        }
    }
}
